import { FemalCaloryCalculator } from "../femal.calory.calculator";
import { Sex } from "../model/calory-calculator.model";
import { MaleCaloryCalculator } from "../male.calory.calculator";

export class CaloryCalculatorUtil {
    static getCaloryCalculatorInstance(sex: Sex, age: number, weight: number) {
        return sex === Sex.femal ? new FemalCaloryCalculator(age, weight) : new MaleCaloryCalculator(age, weight);
    }
}
